import instance from"@/utils/axios"
// 用户注册
// export const UserLoginApi=(data)=>instance.post("/api/user/register",{data})
export const UserRegisterApi=(data)=>{
    return instance (
        {
            url:"/api/user/register",
            method:"post",
            data,
        }
    )
}


// }
// 用户登录 /api/user/login
// export const getRecommendListApi=(params)=>instance.get("/api/index/goodlist",{params});

export const UserLoginApi=(data)=>{
    return instance (
        {
            url:"/api/user/login",
            method:"post",
            data,
        }
    )
}